﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Data;
using System.Data.Entity;
using System.Web;
using System.Web.Mvc;
using MvcJE.Core.Filters;
using MvcJE.Core.Extensions;
using System.Linq.Expressions;
using System.Text.RegularExpressions;
using MvcJE.Core.Inet;

namespace MvcJE.Web.Controllers
{
    [LogFilter]
    public class HomeController : Controller
    {



        public ActionResult Index(string id)
        {

            return View();
           ////return View(ViewBag.Action, scx);
        }

        public ActionResult Start(string id)
        {
            return View();
        }

        //public ActionResult ScreenNotRegistered(string id)
        //{
        //    return View("ScreenNotRegistered",scx);
        //}

        //public ActionResult ScreenNotActivated(string id)
        //{
        //    //return View("ScreenNotActivated", scx);
        //}
        public ActionResult About()
        {
            ViewBag.Message = "Your quintessential app description page.";

            return View();
        }

        public ActionResult Contact()
        {
            ViewBag.Message = "Your quintessential contact page.";

            return View();
        }
        //public ActionResult ScreenContext()
        //{
        //    return PartialView(scx);
        //}
        [OutputCache(Duration=7200)]
        public ActionResult SiteHeader()
        {
            return PartialView();
        }

    }
}
